//
//  CMDBProfileModel.swift
//  CMDB
//
//  Created by 曹桂祥 on 2017/5/6.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

class CMDBProfileModel: NSObject {
    
    var profileName : String = ""
    var profileContent : [String] = [String]()
    var cellHeight : CGFloat = 0
    
    convenience init(name : String , profileContent : [String]) {
        
        self.init()
        
        self.profileName = name
        
        self.profileContent = profileContent

        self.cellHeight = CGFloat(profileContent.count * (20) + (profileContent.count - 1) * 20) + KleftMargin * 2
        
    }
    
}
